/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ru.ibrae.excelparser1.excelstorageentities.entities;

import ru.ibrae.excelparser1.excelstorageentities.enumerations.DocumentType;

import java.util.Date;

/**
 *
 * @author murr
 */
public class DocumentInfo {
    //~ Instance fields --------------------------------------------------------

    private DocumentType documentType;
    private String number;
    private String series;
    private Date whenGiven;
    private String whereGiven;

    //~ Constructors -----------------------------------------------------------
    public DocumentInfo(DocumentType documentType, String number,
            String series, Date whenGiven, String whereGiven) {
        this.documentType = documentType;
        this.number = number;
        this.series = series;
        this.whenGiven = whenGiven;
        this.whereGiven = whereGiven;
    }

    public DocumentInfo() {
    }

    //~ Methods ----------------------------------------------------------------
    public void setDocumentType(DocumentType documentType) {
        this.documentType = documentType;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public void setSeries(String series) {
        this.series = series;
    }

    public void setWhenGiven(Date whenGiven) {
        this.whenGiven = whenGiven;
    }

    public void setWhereGiven(String whereGiven) {
        this.whereGiven = whereGiven;
    }

    public DocumentType getDocumentType() {
        return documentType;
    }

    public String getNumber() {
        return number;
    }

    public String getSeries() {
        return series;
    }

    public Date getWhenGiven() {
        return whenGiven;
    }

    public String getWhereGiven() {
        return whereGiven;
    }
}
